package com.ruoyi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.pojo.PostbarCollect;
import com.ruoyi.service.PostbarCollectService;
import com.ruoyi.mapper.PostbarCollectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author xlz
* @description 针对表【postbar_collect】的数据库操作Service实现
* @createDate 2023-08-02 17:18:59
*/
@Service
public class PostbarCollectServiceImpl extends ServiceImpl<PostbarCollectMapper, PostbarCollect>
    implements PostbarCollectService{

    @Autowired
    private PostbarCollectMapper postbarCollectMapper;

    @Override
    public int add(PostbarCollect postbarCollect) {
        return postbarCollectMapper.insert(postbarCollect);
    }
}




